From cfeaaf62b8d5babef2ab34798fff1e1f64905422 Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Wed, 29 Dec 2010 08:25:50 +0100 Subject: [PATCH] Fix make distcheck When we generate the gir-file we need to refer to the source files relative to the srcdir to support out-of-source-tree builds. --- babl/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/babl/Makefile.am b/babl/Makefile.am index 1823265..6abf148 100644 --- a/babl/Makefile.am +++ b/babl/Makefile.am @@ -99,8 +99,8 @@ Babl-$(BABL_API_VERSION).gir: $(G_IR_SCANNER) $(library_include_HEADERS) $(c_sou -DBABL_IS_BEING_COMPILED \ -I$(top_srcdir) \ -I$(top_builddir) \ - $(library_include_HEADERS) \ - $(c_sources) + $(addprefix $(srcdir)/, $(library_include_HEADERS)) \ + $(addprefix $(srcdir)/, $(c_sources)) girdir = $(datadir)/gir-1.0 gir_DATA = Babl-$(BABL_API_VERSION).gir -- 2.30.2